package com.jiayi.furniture.news.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * 新闻
 * @author jiecui
 *	2015年7月23日
 */
@Controller
public class NewsController {
	
	private static String path = "furniture/news/"	;	//jsp路径
	
	
	/**
	 * 显示新闻中心
	 */
	@RequestMapping("/news")
	public ModelAndView showAbout(HttpServletRequest request,
            HttpServletResponse response){
		ModelAndView mav = new ModelAndView();
		mav.setViewName(path+"news");
		return mav;
	}
}
